package com.scau.hwadee.examination.constant;

/**
 *@author YHX
 *@date 2019/7/26  17:01
 *@description 错误和正确的转态返回码
 */
public enum CheckStatus {
    //正确
    CORRECT("correct",1),

     //错误
    ERROR("error",0),
    ;
    private String name;
    private Integer code;

    public String getName() {
        return name;
    }

    public Integer getCode() {
        return code;
    }

    CheckStatus(String name, Integer code) {
        this.name = name;
        this.code = code;
    }
}
